package com.tianma.springcloud;

import com.tianma.myRuls.MyRuls;
import com.tianma.myRuls.MyRulsConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author lgc
 * @createDate 2020/9/1 - 15:59
 */
@SpringBootApplication
@RibbonClient(name="springcloud-provider-dept",configuration = MyRulsConfig.class)
public class DeptConsumer80 {
    public static void main(String[] args){
        SpringApplication.run(DeptConsumer80.class,args);
    }
}
